<template>
  <div>
    <h2>Cart</h2>
    <TsButton ref="btn1"></TsButton>
  </div>
</template>

<script setup>
import { onMounted, ref } from 'vue';
import TsButton from '../components/TsButton.vue';

const btn1 = ref(null);

onMounted(() => {
  console.log(btn1.value.title);
  console.log(btn1.value.add);
})
</script>